/**
 * @Title: YuYueService.java
 * @Description: 用一句话描述该文件做什么
 * @author zhangxin
 * @date 2019年3月26日
 */
package com.fortune.rainshine.system.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import com.fortune.rainshine.config.FeignConfig;
import com.fortune.rainshinecommon.base.MsgModel;
import com.fortune.rainshinecommon.base.ParmsModel;
import com.fortune.rainshinecommon.model.system.YuYueModel;

/**
 * @ClassName: YuYueService
 * @Description: 这里用一句话描述这个类的作用
 * @author zhangxin
 * @date 2019年3月26日
 */
@FeignClient(value = "rain-shine-system",configuration = FeignConfig.class)
@RestController
public interface YuYueService{
	
    @RequestMapping(value = "/yuyue/list", method = RequestMethod.POST)
    MsgModel list(@RequestBody ParmsModel parm);

    @RequestMapping(value = "/yuyue/updateState",method =RequestMethod.POST)
	boolean updateState(@RequestBody YuYueModel yuyue);

    @RequestMapping(value = "/yuyue/delete",method =RequestMethod.POST)
	boolean delete(YuYueModel yuyue);
}
